<?php
/**
* Handle all donwload requests to download any data from clients data
* @author trungdt
* @since Jan 31, 2013
* @version 1.0
*/

    $_GET['module']="profilemodule";
    $_GET['action']="download";
    $_GET['ajax_action']="1";
    
    // 
    $_SERVER['REQUEST_URI']="/profilemodule/download/ajax_action/1/username/{$_GET['username']}/filename/{$_GET['filename']}";
    $_SERVER['QUERY_STRING']= $_SERVER['REQUEST_URI'];
    $_SERVER['REDIRECT_URL']= $_SERVER['REQUEST_URI'];
    include("index.php");
?>
